Find Unknotted Groups:
Partition basepairs into unknotted groups
Description
Breaks down input helices into basepairs, and assigns each basepair to a
numbered group such that basepairs in each group are non-pseudoknotted
relative to all other basepairs within the same group.
The algorithm is greedy and thus will not find the best combination
of basepairs to minimize the number of groups.
Usage
unknottedGroups(helix)
Arguments
helix
A helix data.frame.
Value
An array of integers dictating the groups of each helix. Will only
correspond to the input helix structure if the input had helices of length 1
(e.g. output of expandHelix).